package com.oo.inherit_3.car;

/**
 * Engine--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 11:28
 **/
public class Engine {

    private String displacement;

    private int number;

    private String typeNo;

    public Engine(String displacement, int number, String typeNo) {
        this.displacement = displacement;
        this.number = number;
        this.typeNo = typeNo;
    }

    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getTypeNo() {
        return typeNo;
    }

    public void setTypeNo(String typeNo) {
        this.typeNo = typeNo;
    }
}
